//
//  HMComposeView.m
//  weibo
//
//  Created by apple on 2016/11/20.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "HMComposeView.h"
#import "UIImage+HMPrintViewimg.h"
@implementation HMComposeView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setupUI];
    }
    return self;
}
-(void)setupUI{
    UIImageView *backV = [[UIImageView alloc]initWithImage:[UIImage getpringtView]];
    [self addSubview:backV];
    UIToolbar *tool = [[UIToolbar alloc]initWithFrame:self.bounds];
    tool.barStyle = UIBarStyleBlackOpaque;
    [self addSubview:tool];
    
}
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self removeFromSuperview];
}
@end
